<%@page contentType="text/html; charset=utf-8" %>
<html>
<head>
<title>SimpleWiki</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel=stylesheet href="../css/user.css" type="text/css">
<script src="/js/prototype.js" type="text/javascript"></script>
<script src="/js/scriptaculous.js" type="text/javascript"></script>
<script language="JavaScript">
function documentCreate() {
	f.action = "/simplewiki/view_page.do";
	f.submit();
}
</script>
</head>
<body bgcolor=#FFFFFF text=#000000 leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
<script>
new Ajax.Autocompleter('tags', 'autocomplete_tags', '/autocomplete_tags');
</script>
<br/>
<table width="600" border="0" align="center">
<tr>
	<td bgcolor="f4f4f4" height="22">&nbsp;&nbsp;<b>페이지 편집</b></td>
</tr>
<tr>
	<td align=right>
	  <a href="javascript:documentCreate()"  title="View History">저장</a>            
	  <a href="/confluence/logout.action" id="logout">취소</a>
	</td>
</tr>	
<tr>
	<td>
	  <!-- write Form  -->
	  <form name="f" method="post">
	  <table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="BBBBBB">
		  <tr>
			<td width=150 align=center bgcolor="E6ECDE" height="22">제 목</td>
			<td width=450 bgcolor="ffffff" style="padding-left:10">
				<input type="text" style="width:300" name="title">
			</td>
		  </tr>
		  <tr>
			<td width=150 align=center bgcolor="E6ECDE" height="22">내용</td>
			<td width=450 bgcolor="ffffff" style="padding-left:10">				
				<textarea  style="width:300" name="content"></textarea>
				
			</td>
		  </tr>
		  <tr>
			<td width=150 align=center bgcolor="E6ECDE" height="22">Tags</td>
			<td width=450 bgcolor="ffffff" style="padding-left:10">
				<input type="text" style="width:300" name="tags" id="tags" />
				<div id="autocomplete_tags" style="display:none;border:1px solid black;background-color:white;"></div>
			</td>
		  </tr>		 		 
	  </table>
	  </form>
	</td>
</tr>  
</table>  

</body>
</html>